<template>
  <view class="search-bar">
    <image
      class="search-icon"
      :src="commonStore.baseImageUrl +'test-yujia/shop/search-icon.png'"
      mode="widthFix"
    ></image>
    <text class="search-text">搜索</text>
  </view>
</template>

<script setup>
import { useCommonStore } from "@/store";
const commonStore = useCommonStore();

</script>


<style lang="scss" scoped>
.search-bar{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rpx 20rpx;
    background: #fff;
    border-radius: 20rpx;
    .search-icon{
        width: 26rpx;
        height: 22rpx;
        margin-right: 24rpx;
    }
    .search-text{
        font-size: 24rpx;
        color: #B4B4B4;
    }
}
</style>